package com.wwf;

import com.wwf.util.RpcRequest;

/**
 * @author wwf
 * @date 2021年01月07日 14:38:38
 */
public class ClientBoostrap {
   // private static String providerName="UserService#sayHello#";
    public static void main(String[] args) {
        RPCConumer rpcConumer = new RPCConumer();
        IUserService userService = (IUserService)rpcConumer.creatProxy(IUserService.class,new RpcRequest());
        for (;;){
            String s = userService.sayHello("hello server");
            System.out.println("服务端返回值："+s);
        }
    }
}
